package com.leruan.aasimp.service.impl;

import java.util.List;
import java.util.Map;

import com.leruan.aasimp.dao.CarInsuranceComDao;
import com.leruan.aasimp.entity.CarInsuranceCom;
import com.leruan.aasimp.service.InsuranceComService;

public class CarInsuranceComServiceImpl implements InsuranceComService {
	private CarInsuranceComDao carInsuranceComDao;



	public CarInsuranceComDao getCarInsuranceComDao() {
		return carInsuranceComDao;
	}



	public void setCarInsuranceComDao(CarInsuranceComDao carInsuranceComDao) {
		this.carInsuranceComDao = carInsuranceComDao;
	}



	public List<CarInsuranceCom> findall(){
		return carInsuranceComDao.findAll();
	}



	public List<CarInsuranceCom> getList(Map<String, String> map, int pageNo) {
		return carInsuranceComDao.getList(map,pageNo);
	}



	public Long getTotal(Map<String, String> map) {
		return carInsuranceComDao.getTotal(map);
	}



	public void save(CarInsuranceCom carInsuranceCom) {
		carInsuranceComDao.save(carInsuranceCom);
		
	}



	public void update(CarInsuranceCom carInsuranceCom) {
		carInsuranceComDao.update(carInsuranceCom);
		
	}
}
